package com.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * 专门用于页面跳转
 */
@Controller
public class ApiController {

    @RequestMapping("/banji/toBanJi")
    public String toBanJi(){
        return "banji/banji";
    }

    @RequestMapping("/toChinaManager")
    public String toChinaManager(){
        return "admin/chinadatamanager";
    }

    @RequestMapping("/toGlobal")
    public String toGlobal(){
        return "global";
    }

    @RequestMapping("toHealthClock")
    public String toHealthClock(){
        return "admin/healthclock";
    }

    @RequestMapping("/hesuan/toHeSuan")
    public String toHeSuan(){
        return "hesuan/hesuan";
    }

    @RequestMapping("/")
    public String index(){
        return "index";
    }

    @RequestMapping("/toLogin")
    public String toLogin(){
        return "login";
    }

    @RequestMapping("/menu/toMenu")
    public String toMenu(){
        return "menu/menu";
    }

    @RequestMapping("/news/toNews")
    public String toNews(){
        return "news/news";
    }

    @RequestMapping("/role/toRole")
    public String toRole(){
        return "role/role";
    }

    @RequestMapping("/user/toUser")
    public String toUser(){
        return "user/user";
    }

    @RequestMapping("/user/toChangePassword")
    public String toChangePassword(){
        return "user/changepassword";
    }

    @RequestMapping("/user/toUserInfo")
    public String toUserInfo(){
        return "user/userInfo";
    }

    @RequestMapping("/vaccine/toVaccine")
    public String toVaccine(){
        return "vaccine/vaccine";
    }

    @RequestMapping("/xueyuan/toXueYuan")
    public String toXueYuan(){
        return "xueyuan/xueyuan";
    }
}
